using System;
using System.Collections.Generic;
using System.Linq;
namespace TemplateWeb.Models.ViewModels
{
	#region using
	using System.ComponentModel;
	using System.ComponentModel.DataAnnotations;
	using System.Web.Mvc;
	using System.Web.Security;
	using TemplateWeb.Models;
    using TemplateWeb.DTO;
	#endregion
	public class NguoiDungViewModel
	{
		public GetNguoiDungViewModel GetModel { get; set; }
		public EditNguoiDungViewModel EditModel { get; set; }
		public AddNguoiDungViewModel AddModel { get; set; }
		public string InfoText { get; set; }
	}
	public class GetNguoiDungViewModel
	{
		public List<NguoiDungInfo> LstObjModel { get; set; }
		public int TotalItem { get; set; }
		public int CurrentPage { get; set; }
	}

	public class EditNguoiDungViewModel
	{
		public Guid ID { get; set; }
	}

	public class AddNguoiDungViewModel
	{
		public NguoiDungInfo Info { get; set; }
	}

	public class NguoiDungInfo
	{
		public NguoiDungBaseInfo BaseInfo { get; set; }
		public NguoiDungDTO ExtraInfo { get; set; }
	}

	public class NguoiDungBaseInfo
	{
		public Guid ID { get; set; }
		public string UserName { get; set; }
		public string Email { get; set; }
		public string Password { get; set; }
		public string Role { get; set; }
	}

}